package com.jlect.swebing.ui.client;

/**
 * Interface that defines policy for focus traversal rules.
 *
 * @author Sergey Kozmin
 * @since 24.11.2007 18:24:04
 */
public interface FocusTraversalPolicy {
    /**
     * Returns the component that should receive the focus after the given component.
     * @param component current component
     * @return component after
     */
    public GComponent getComponentAfter(GComponent component);
    public GComponent getComponentBefore(GComponent component);
    public GComponent getFirstComponent();
    public GComponent getLastComponent();
}
